package com.ccgk.logistics.service;

import java.util.List;

import com.ccgk.common.page.PaginationVo;
import com.ccgk.logistics.domain.Port;

public interface PortService {
	
	Integer add(Port port);
	
	Port getById(int id);
	
	List<Port> findAll();
	
	Integer update(Port port);
	
	Integer delete(int id);

	PaginationVo<Port> findList(int currentPage, int pageSize);

	void batchDelete(Integer[] idIntArray);

	Port getByName(String name);

	List<Port> findByName(String name);
}
